'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;

  //获取数据
  router.post('/api/getList', controller.home.getList)

  //登录
  router.post('/api/login', controller.home.Login);

  //注册
  router.post('/api/register', controller.home.register)

  //删除
  router.post('/api/delList', controller.home.Del)


  router.post('/api/screening1', controller.home.screening1);

  router.post('/api/screening2', controller.home.screening2);

  router.post('/api/screening3', controller.home.screening3);

  router.post('/api/screening5', controller.home.screening5);

  router.post('/api/screening6', controller.home.screening6);



  router.post('/api/search', controller.home.search)

  router.post('/api/search1', controller.home.search1)

  router.post('/api/search2', controller.home.search2)




};
